-
Notifications
You must be signed in to change notification settings - Fork 984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow use of other protocol in CLI #2658
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2658 +/- ##
=======================================
Coverage 53.38% 53.38%
=======================================
Files 302 302
Lines 103403 103404 +1
=======================================
+ Hits 55198 55200 +2
+ Misses 48205 48204 -1 ☔ View full report in Codecov by Sentry. |
a66d4b3
to
7ff35d9
Compare
f7a42d4
to
83b8675
Compare
* origin/fraccaman/allow-http-url-cli: added changelog refactor addresses with protocol use tendermint_rpc::Url instead of TendermintAddress
83b8675
to
eaf56c7
Compare
* origin/fraccaman/allow-http-url-cli: added changelog refactor addresses with protocol use tendermint_rpc::Url instead of TendermintAddress
@Fraccaman tpc should be tcp in the replace. |
fn arg_from_ctx( | ||
ctx: &ChainContext, | ||
raw: impl AsRef<str>, | ||
) -> Result<Self, String> { | ||
if raw.as_ref().is_empty() { | ||
return Ok(ctx.config.ledger.cometbft.rpc.laddr.clone()); | ||
return Self::from_str( | ||
&ctx.config.ledger.cometbft.rpc.laddr.to_string().replace("tpc", "http"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😭
Describe your changes
Allow a user to input http/https protocol when supplying
--node
or--ledger-address
Indicate on which release or other PRs this topic is based on
Checklist before merging to
draft